package com.woniu.project.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.project.core.domain.PermissionType;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Klaus
 * @since 2020-10-13
 */
public interface PermissionTypeMapper extends BaseMapper<PermissionType> {

    @Select("SELECT permission_type_id,permission_type_name from pawn_permission_type where permission_type_name = #{name}")
    PermissionType selectPermissionTypeByName(String name);
}
